package com.whminwei.edu.api.sso.pojo.msg.rspn;


import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.whminwei.edu.api.sso.pojo.bo.UserBo;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 获取用户列表响应
 * 接口编号：SSO.01.004
 *
 * @author 张嘉琪
 * @since 2023-02-20
 */
@Data
@NoArgsConstructor
public class GetUsersRspn {

    /**
     * 用户列表
     */
    @JsonValue
    private List<UserBo> accounts;

    @JsonCreator
    public GetUsersRspn(List<UserBo> accounts) {
        this.accounts = accounts;
    }
}
